package com.daffodil.flowable.entity;

import java.util.List;

import javax.validation.constraints.NotBlank;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 流程提交参数
 * @author yweijian
 * @date 2022年1月12日
 * @version 1.0
 * @description
 */
@Data
@ApiModel("流程办理参数")
public class ActFlowSubmitParam {

    /** 业务编号 */
    @ApiModelProperty(name = "业务编号", required = true)
    @NotBlank(message = "业务编号不能为空")
    public String businessKey;
    
    /** 办理操作ID */
    @ApiModelProperty(name = "办理操作编号")
    public String handleId;
    
    /** 办理执行人 */
    @ApiModelProperty(name = "办理执行人")
    public String userId;
    
    /** 办理意见 */
    @ApiModelProperty(name = "办理意见")
    public String message;
    
    @ApiModelProperty(name = "办理附件")
    List<ActFlowSubmitAttachment> attachments;
    
    /** 环节办理信息 */
    @ApiModelProperty(name = "环节办理信息")
    List<ActFlowSubmitAssignee> assignees;
    
}
